﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MegavaniaX.Messaging.Events
{
    public struct ScreenTransistionEvent : IMegavaniaEvent
    {
        private MegavaniaEventType _eventType;
        private string[] _listenerNames;

        public MegavaniaEventType EventType { get { return _eventType; } private set { _eventType = value; } }
        public string[] ListenerNames { get { return _listenerNames; } private set { _listenerNames = value; } }
        public char Side;
        public float PlayerX;
        public float PlayerY;

        public ScreenTransistionEvent(MegavaniaEventType type, char side, float playerX, float playerY, params string[] listeners)
        {
            _eventType = type;
            _listenerNames = listeners;          
            Side = side;
            PlayerX = playerX;
            PlayerY = playerY;
        }
    }
}
